package org.smog;

import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @Description: Created by IntelliJ IDEA.
 * @project_name: smogTemp
 * @time: 2020-05-13 16:04
 * @email: 17685306043@163.com
 * @author: huangZhongYao
 */
@Slf4j
@EnableFeignClients(value = {"org.smog.fegin"})
@AllArgsConstructor
@EnableConfigurationProperties
@SpringBootApplication
public class StartApplication implements ApplicationRunner {

    public static void main(String[] args) {
        SpringApplication.run(StartApplication.class, args);
    }

    @Override
    public void run(ApplicationArguments args) {
        log.info("Smog Start Success!");
    }
}
